package com.metagurukul.metaspace.models.beans;


/**
 * @author ritesh
 * created date : 5/10/2012
 */
public class Project {
	private int projectId = -1;
	private String projectName = null;
	/**
	 * @return projectId int
	 */
	public int getProjectId() {
		return projectId;
	}
	/**
	 * @param projectId int
	 */
	public void setProjectId(int projectId) {
		
		this.projectId = projectId;
	}
	/**
	 * @return projectName String
	 */
	public String getProjectName() {
		return projectName;
	}
	/**
	 * @param projectName String
	 */
	public void setProjectName(String projectName) {
		if(this.projectName != null && 50 < this.projectName.length()){
			throw new StringIndexOutOfBoundsException("Project name size too long");
		}
		this.projectName = projectName;
	}
	
}
